#函数嵌套调用
'''
def sum_num(a,b,c):
    return a+b+c

def average_num(a,b,c):
    sumResult=sum_num(a,b,c)
    return sumResult/3

average=average_num(1,2,3)
print(average)

#多函数执行流程
glo_num=0

def testA():
    global glo_num
    glo_num=100

def testB():
 print(glo_num)

print(glo_num)
testA()
testB()
print(glo_num)

#返回值作为参数传递

def test1():
    return 50

def test2(num):
 print(num)

result=test1()
test2(result)
'''
def test1():
 return 1 
print(test1())